﻿namespace Framework.Models.Response
{
    public class Biz_LeaveTimeResponse
    {
        public int Id { get; set; }
        public string UserName { get; set; }

        public int UserId { get; set; } 
        /// <summary>
        /// 请假类型
        /// </summary>
        public int LeaveType { get; set; }

        public DateTime StartDate { get; set; }

        public DateTime EndDate { get; set; }

        /// <summary>
        /// 请假时长
        /// </summary>
        public int LeaveHour { get; set; }

        /// <summary>
        /// 请假说明
        /// </summary>
        public string RequestComment { get; set; }

        /// <summary>
        /// 附件，用于提交病假证据等
        /// </summary>
        public string? Attachment { get; set; }

        /// <summary>
        /// 所属流程ID
        /// </summary>
        public string? FlowInstanceId { get; set; }

        /// <summary>
        /// 当前审批节点
        /// </summary>
        public string? FlowNodeName { get; set; }

        /// <summary>
        /// 流程状态
        /// </summary>
        public int? FlowStatus { get; set; }

        public string CreateBy { get; set; }
        public DateTime CreateTime { get; set; }
    }
}